<%@page import="com.mmy.domain.guide.TGuideInfo"%>
<%@page import="com.mmy.domain.guide.VGuideInfo"%>
<%@page import="com.mmy.domain.sys.TSysOrg"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
 <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/WEB-INF/jsp/includeb.jsp"></jsp:include>
<title>导游信息</title>
</head>
<body>
<div id="off-canvas-container" class="off-canvas-container">
		<jsp:include page="/WEB-INF/jsp/BackHeader.jsp"></jsp:include>

		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main Start -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<main class="at-padding-large-bottom">
			<article>
				<header class="bg-light at-padding-large-top at-padding-large-bottom at-margin-large-bottom">
					<div class="page-header container">
						<div class="row">
							<div class="span-5 col">
								<h1>导游资料管理</h1>
							</div>	
							
						 </div >
					</div>
				</header>
				<section class="container">
					
					<nav class="breadcrumb" >
						
						<a href="guideindex" >导游信息</a> 
						<hr class="breadcrumb-hr" color=#F9F6E5 SIZE=3></hr>
					</nav>
					<!-- 用户信息展示 -->
					<div class="information" >
					<form action="searchguide" class="info-form" >
						<h4 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i>导游信息管理
						</h4>
						
						<div class="input-container">
							<div class="select-condition">
							<span><label for="GuideName"> 导游姓名 ：</label></span>
							<input type="text" id="GuideName" class="input-width" name="GuideName" value="${requestScope.strGuideName}"/>
							<span><label for="GuideSex"> 导游性别 ：</label></span>
							<select class="input-select-vlign" id="GuideSex" name="Sex">
								<option value=""><label>不限</label></option>
								<option  value="0"><label>男</label></option>
								<option value="1"><label>女</label></option>
							</select> 
							<span> <label for="GuideLevel">导游级别 ：</label></span>
							<input type="text" id="GuideLevel" class="input-width" name="GuideLevel" value="${requestScope.strGuideLevel}"/>
							<span> <label for="GuideLanguage">语言 ：</label></span>
							<input type="text" id="GuideLanguage" class="input-width" name="Language" value="${requestScope.strGuideLanguage}"/>
							<span><label for="GuideOrg">所属公司名称</label></span>
					<select class="input-select-vlign"  id="GuideOrg"  name="OrgID" >
								<option value=""><label>不限</label></option>
								<c:forEach var="tSysOrg" items="${newTSysOrg}">
								<option value="${tSysOrg.getOrgID()}">${tSysOrg.getOrgName()}</option>
							</c:forEach>
					</select>
							<input type="submit" value="搜索" class="btn"/>
							
						
						<div class="at-float-right">
						<input type="button" class="btn " value="新建"  onclick="location.href='/mmy/tocreateguide'" />
						<input type="button" class="btn " value="修改"  onclick="updateGuide()"/>
						<input type="button" class="btn"  value="删除" onclick="delGuideBatch()"/>
						</div>
						</div>
							<table class="info-table">
								<tr>
									<th>
									<input type="checkbox" id="ckall" name="ckall" onclick="ckAll(this);">全选
									</th>
									<th><label>导游姓名</label></th>
									<th><label>导游性别</label></th>
									<th><label>导游手机号码</label></th>
									<th><label>所属公司</label></th>
									<th><label>导游级别</label></th>
									<th><label>语言</label></th>
								<th><label>日工资</label></th> 
									
								</tr>
								  <!-- 循环显示每个用户的信息 用jstl-->
					  <c:forEach items="${newVGuideInfo}" var="vGuideInfo" varStatus="status">
           				 <tr >
            			   <td ><input
                 			   type="checkbox" name="ckone" value="${vGuideInfo.getGuideID() }"
			                    onclick="ckOne(this)" /></td> 
			                  
			                <td ><a href="guideinfo?GuideID=${vGuideInfo.getGuideID() }"><label>${vGuideInfo.getGuideName() }</label></a></td>
			                <td ><c:if test="${vGuideInfo.getSex()==0}"><label>男</label></c:if><c:if test="${vGuideInfo.getSex()==1}"><label>女</label></c:if>
</td>
			                <td ><label>${vGuideInfo.getTel()}</label></td>
			                <td ><label>${vGuideInfo.getOrgName()}</label></td>
			                <td ><label> ${vGuideInfo.getGuideLevel()}</label>
</td>
<td ><label> ${vGuideInfo.getLanguage()}</label></td>
			                <td ><label> ${vGuideInfo.getPrice()}</label>
			            </tr>
      				  </c:forEach>
							</table>
							
							<select>
								<option>10</option>
								<option>5</option>
								<option>2</option>
							</select>
							<span>
								 条   共1条 1/1
							</span>
							<span class="page-span">
								1 转到<input type="text" class="input-width3"/>
								页 <input type="button" class="btn" value="GO"  />
							</span>	
						</div>	
					</form>
					</div>
					
				
				</section>
				
					
					
			</article>
			
		</main>
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main End -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

		<jsp:include page="/WEB-INF/jsp/Footer.jsp"></jsp:include>
	</div>
	<jsp:include page="/WEB-INF/jsp/include2.jsp"></jsp:include>
</body>
</html>